<!-- Breadcrums -->
<?php $this->load->view('helpers/breadcrums.php'); ?>
<!-- Breadcrum -->
<div class="container">
	<div id="main">
		<div class="row">
			<div class="span9">
				<div class="w-box-content cnt_a">
					<div class="row-fluid">
						<div class="span12">
							<h1 class="page-header"><?php echo $text_heading; ?></h1>
							<?php if (!empty($success)) { ?>
							<div class="alert alert-success"><?php echo $success; ?></div>
							<?php } ?>
							<fieldset>
								<h3>Edit User Profile</h3>
								<form action="<?php echo base_url(); ?>member/dashboard" method="post" id="validate_field_types">
									<div class="control-group"><label class="control-label req"
										for="inputTile">Title</label>
									<div class="controls"><select name="title" id="inputTile">
										<option value="">[select]</option>
										<option <?php if($titleM == "Mr.") {echo 'selected="selected"';} ?>
											value="Mr.">Mr.</option>
										<option <?php if($titleM == "Mrs.") {echo 'selected="selected"';} ?>
											value="Mrs.">Mrs.</option>
										<option <?php if($titleM == "Ms.") {echo 'selected="selected"';} ?>
											value="Ms.">Ms.</option>
										<option <?php if($titleM == "Mdm.") {echo 'selected="selected"';} ?>
											value="Mdm.">Mdm.</option>
										<option <?php if($titleM == "Dr.") {echo 'selected="selected"';} ?>
											value="Dr.">Dr.</option>
									</select></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputFirstname">First Name</label>
									<div class="controls"><input type="text" id="inputFirstname"
										name="firstname" value="<?php echo $firstname; ?>"
										placeholder="First Name" class="sepH_b"></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputLastname">Last Name</label>
									<div class="controls"><input type="text" id="inputLastname"
										name="lastname" value="<?php echo $lastname; ?>"
										placeholder="Last Name"></div>
									</div>
									<div class="control-group"><label class="control-label"
										for="inputMobile">Mobile Phone</label>
									<div class="controls"><select name="mobile_country" class="width100">
										<option value="65"
										<?php if($mobile_country == 65) {echo 'selected="selected"';} ?>><?php echo $text_portal; ?> (+65)</option>
										<option value="0"
										<?php if($mobile_country == 0) {echo 'selected="selected"';} ?>>Other
										(+)</option>
									</select> <input type="text" maxlength="20" id="phone" name="phone"
										value="<?php echo $phone; ?>" placeholder="Mobile Phone"></div>
									</div>
									<div class="control-group"><label class="control-label" for="inputEmail">Email</label>
									<div class="controls"><input type="text" id="inputEmail" name="email"
										value="<?php echo $email; ?>" placeholder="Email"></div>
									</div>
									<div class="control-group">
									<div class="controls">
									<button type="submit" class="btn btn-primary btn-large"><?php echo $text_submit; ?></button>
									</div>
									</div>
								</form>
							</fieldset>
						</div>
					</div>
				</div>
			</div>
			<div class="sidebar span3"><?php $this->load->view('account.php'); ?></div>
			</div>
	</div>
</div>
